<div ng-controller="CustomformCtrl" ng-init="datalistAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/customform/list">{{'自定义表单'| translate}}</a></li>
        <li class="active">
            {{"已添加数据"|translate}}
        </li>
        <span class="sui-form sui-form pull-right">
            <export-data  startcreated="start_time" endcreated="end_time" form-id="form_id"  type="5" form-type="type" >
            </export-data>
        </span>
    </ul>
    <div>
        <table class="sui-table table-bordered" style="margin-bottom: 5px;">
            <thead>
                <tr>
                    <th ng-repeat="(key, value) in form_title">{{ value | translate}}</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="list in form_data">
                    <td ng-repeat="(k1, v1) in list.data track by $index">

                        <span ng-if="v1.type == 'image'">
                            <img ng-src="{{v1.option}}" style="width:200px;">
                        </span>

                        <span ng-if="v1.type != 'image'">
                            {{v1.option}}
                        </span>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <!-- 分页start -->
    <pager page-no="1" page-size="page_size" total="data_count" get-data="dataList(pageNo)"></pager>
    <!-- 分页end -->
</div>